#include <string>
#include <stdio.h>

int main()
{
  std::string str_file ("/home/yujiehao/works/svn/KingsCanyon/branches/volt_security/tests/test.txt");
  std::string str_app ("/home/yujiehao/works/svn/KingsCanyon/branches/volt_security/tests");

  //std::string str_file ("abcde");
  //std::string str_app("c");

  std::size_t found = str_file.find(str_app);
  printf("found = %lu\n", found);
  if (found != std::string::npos)
  {
    printf("Find str_app in str_file at %lu\n", found);
  }
  else
  {
    printf("str_app is not in str_file\n");
  }

  return 0;
}
